﻿
using HR.Models.PengModels;

namespace HR.IServices.PengIService
{
    public interface IJianLiGuanLiServices
    {
        Task<int> Add(JianLiGuanLi jianLiGuanLi);
        //简历 变更  条件查询
        Task<List<JianLiGuanLi>> TiaoJian(string? type,string? name,string? fourTiaoJian,string? time1,string? time2);
		//有效查询 条件查询
		Task<List<JianLiGuanLi>> YouXiao(string? type, string? name, string? fourTiaoJian, string? time1, string? time2);
		//简历 变更  修改  修改推荐意见 面试状态
		Task<int> UpdateTwo(JianLiGuanLi jianLiGuanLi);
        //查询公共表
        Task<List<GongGongShuXing>> GuoJi();
        Task<List<GongGongShuXing>> MinZu();
        Task<List<GongGongShuXing>> ZongJiao();
        Task<List<GongGongShuXing>> ZhengZhiMianMao();
        Task<List<GongGongShuXing>> XueLi();
        Task<List<GongGongShuXing>> ZhuanYe();
        Task<List<GongGongShuXing>> JiaoYuNianXian();
        Task<List<GongGongShuXing>> TeChang();
        Task<List<GongGongShuXing>> AiHao();
        //查询全部
        Task<List<JianLiGuanLi>> SelAllJl();
        //有效简历查询，状态为1的
        Task<List<MsJlLianCha>> SelYouX();
        //第二次第三次第四次等等的面试都为修改
        Task<int> UPDMianShics(MianShi ms);
        //建议录用修改新增为0
        Task<int> UpdZt(JianLiGuanLi jianLiGuanLi);

        //录用申请查询
        Task<List<JianLiGuanLi>> SelLuYonJL();

        Task<int> UpdCheckstu(JianLiGuanLi jianLiGuanLi);//修改check状态为2

        //录用审评查询简历和录用表两张状态checkstu为2的
        Task<List<MsJlLianCha>> msJlLians();

        Task<List<MsJlLianCha>> msJlLianss();//查询check状态为3的
        Task<int> UpdCheckstus(JianLiGuanLi jianLiGuanLi);//修改check为2

        Task<List<GongGongShuXing>> ZhiCheng();//查询职称
    }
}
